package com.example.crm.mapper;

import com.example.crm.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import javax.jws.soap.SOAPBinding;
import java.util.List;

@Mapper
public interface UserMapper  {
    public User findNameAndPassword(@Param("userName") String userName, @Param("userPassword")  String userPassword);

    public List<User> finAll();

    public User findByName(@Param("name") String name);

}
